<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <script language="javascript" type="text/javascript" src="javascript/formularios.js"></script>
    <title>PIO - Administrador - Agregar informacion a instituciones</title>
    <meta http-equiv="Content-Language" content="English" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" type="text/css" href="interfaz/style.css" media="screen" />
  </head>
  <body>
    <div id="wrap">

      <div id="header">
        <!--        <h1><a href="#">Website Title</a></h1>-->
      </div>

      <%@include file="tm.jsp" %>

      <div id="content">
        <div class="right"> 

          <h1> Agregar informacion a instituciones actuales </h1>
          <p>Seleccione una institucion</p>
          <html:form action="/PageAgregarDatosInstitucion" onsubmit="return validarInstitucionId(this.id.value)">
            <table>
              <tr>
                <td colspan="2" class="center">
                  <html:select property="id">
                    <html:option value="-1">(Seleccione una institucion)</html:option>
                    <html:optionsCollection name="instituciones" label="nombre" value="id"/>
                  </html:select>
                </td>
              </tr>
            </table>
            <div class="center">
              <input id="boton" type="button" value="Volver atras" onclick="location.href = 'adminInstituciones.jsp'"/>
              <html:submit styleId="boton" value="Seleccionar"/><BR/>
            </div>
          </html:form>

        </div>

        <%@include file="lm.jsp" %>

        <div style="clear: both;"> </div>

      </div>
    </div>

    <%@include file="footer.jsp" %>

  </body>
</html>